(() => {
  class Person {
    age: number;
    gender: string;

    constructor(age: number, gender: string) {
      this.age = age;
      this.gender = gender;
    }
  }

  const p = new Person(18, "男");
  console.log(p);
})();
